package main

// MountConfig volumns
type MountConfig struct {
	Volumns []volumn    `json:"volumns"`
	Mounts  []mountInfo `json:"mounts"` // mount when run event first
}

// Config container config
type Config struct {
	ID       string      `json:"id"`        // container id
	Name     string      `json:"name"`      // container name
	Mounts   MountConfig `json:"mounts"`    // mounts info
	ImageDir string      `json:"image_dir"` // image dir
	Tty      bool        `json:"tty"`       // allocate tty
	HostName string      `json:"hostname"`  // hostname in container
}

// DEBUG debug flag
var DEBUG bool

// LibDir dir for configs
const LibDir = "/var/lib/ltc"

// DefaultHostName default hostname
const DefaultHostName = "ltc"
